<template>
  <div class="item">
    <slot></slot>
  </div>
</template>

<style lang="scss">
.wrapper .item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  /* 自动吸附归位动画 */
  scroll-snap-align: center;
  color: #000;
}
</style>